package com.duoec.magichour.core.web.freemarker.dto;

import java.lang.reflect.Field;

/**
 * Created by ycoe on 17/2/27.
 */
public class PortletParamDto {

    /**
     * 默认值
     */
    private Object defaultValue;

    /**
     * 对应的Field
     */
    private Field field;

    public PortletParamDto(Object defaultValue, Field field) {
        this.defaultValue = defaultValue;
        this.field = field;
    }

    public Object getDefaultValue() {
        return defaultValue;
    }

    public void setDefaultValue(Object defaultValue) {
        this.defaultValue = defaultValue;
    }

    public Field getField() {
        return field;
    }

    public void setField(Field field) {
        this.field = field;
    }
}
